package com.internetCafes.spms.web.tenant.model;

import com.alibaba.fastjson.annotation.JSONField;
import java.io.Serializable;
import java.util.Date;


/**
 * 租户企业资质
 * 
 * @author Sunny
 * @email rekeeper2011@hotmail.com
 * @date 2019-11-27 10:36:49
 */
public class TenantCertiInfo implements Serializable {

	private static final long serialVersionUID = 1L;
	
    /**
     * 本表id
     */
	private Long id;

    /**
     * 租户id
     */
	private Long tenantId;

    /**
     * 资源id
     */
	private Long resourceId;

    /**
     * 配置id
     */
	private String confId;

    /**
     * 资质名称
     */
	private String certiName;

    /**
     * 创建人
     */
	private Long createBy;

    /**
     * 创建时间
     */
	private Date createTime;

	public TenantCertiInfo(){}
	public TenantCertiInfo(Long tenantId, Long resourceId, String confId, String certiName, Long createBy) {
		this.tenantId = tenantId;
		this.resourceId = resourceId;
		this.confId = confId;
		this.certiName = certiName;
		this.createBy = createBy;
		this.createTime = new Date();
	}


	@JSONField(name = "id")
	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	@JSONField(name = "tenant_id")
	public void setTenantId(Long tenantId) {
		this.tenantId = tenantId;
	}

	public Long getTenantId() {
		return tenantId;
	}

	@JSONField(name = "resource_id")
	public void setResourceId(Long resourceId) {
		this.resourceId = resourceId;
	}

	public Long getResourceId() {
		return resourceId;
	}

	@JSONField(name = "conf_id")
	public void setConfId(String confId) {
		this.confId = confId;
	}

	public String getConfId() {
		return confId;
	}

	@JSONField(name = "certi_name")
	public void setCertiName(String certiName) {
		this.certiName = certiName;
	}

	public String getCertiName() {
		return certiName;
	}

	@JSONField(name = "create_by")
	public void setCreateBy(Long createBy) {
		this.createBy = createBy;
	}

	public Long getCreateBy() {
		return createBy;
	}

	@JSONField(name = "create_time")
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getCreateTime() {
		return createTime;
	}
}
